package com.example.yls.dmo;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

/**
 * Created by yls on 2018/10/22.
 */

public class StuViewHolder extends RecyclerView.ViewHolder{
    public StuViewHolder(View itemView) {
        super(itemView);
        this.view=itemView;

        headView=view.findViewById(R.id.iv_head);
        nameView=view.findViewById(R.id.tv_name);
        ageView=view.findViewById(R.id.tv_age);
    }

    View view;
    ImageView headView;
    TextView nameView;
    TextView ageView;
}
